home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 40
/
Vol 40.iso
/
games
/
water_ba.swf
/
scripts
/
frame_8
/
DoAction.as
Wrap
Text File
|
2007-03-20
|
1KB
|
54 lines
stop();
_root.flipper.removeMovieClip();
attachMovie("b_balloon2","bballoon",10,{_x:256,_y:-100});
attachMovie("b_text2","btext",11,{_x:256,_y:-100,hh:0});
bballoon.onEnterFrame = function()
{
if(this._alpha <= 0)
{
if(_root.registeredgame)
{
_root.gotoAndStop("intro");
}
else
{
_root.gotoAndStop("register");
}
_root.btext.removeMovieClip();
this.removeMovieClip();
}
if(this.counter < 200)
{
this.counter = this.counter + 1;
if(!this.sound1)
{
this.sound1 = true;
}
this.snapinplace(1,1.2,192,256);
}
else
{
this._alpha -= 5;
_root.btext._alpha -= 5;
}
};
btext.onEnterFrame = function()
{
if(this.counter < 40)
{
this.counter = this.counter + 1;
}
else
{
if(this.tick2 < 80)
{
this.tick2 = this.tick2 + 1;
}
else
{
this.blinker(30);
}
this.snapinplace(1,1.2,192,256);
}
};